﻿using ALMDDD.Domain.Commands.SysUser;
using System;
using System.Collections.Generic;
using System.Text;

namespace ALMDDD.Domain.Valications.SysUser
{
    /// <summary>
    /// 添加用户验证命令模型
    /// </summary>
    public class AddSysUserCommandValidation : SysUserValidation<AddUserCommand>
    {
        /// <summary>
        /// 验证条件
        /// </summary>
        public AddSysUserCommandValidation()
        {
            ValidateUserName();
            ValidUserId();
            ValidUserName();
            ValidateEmail();
        }
    }
}
